/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SERVLET;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author Alice
 */
public class LandingSellerServlet extends HttpServlet {

    
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
         response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        String docType=
         "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n";    
out.println(docType+"<html>");
out.println("<head>");
out.println("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">");
out.println("<style type=\"text/css\">");
out.println("body{");
out.println("   background-color: #FFFFFF;");
out.println("   color: #000000;}");
out.println("</style>");
out.println("<style type=\"text/css\">");
out.println("a{");
out.println("   color: #C8D7EB;");
out.println("   outline: none;");
out.println("   text-decoration: underline;}");
out.println("a:visited{");
out.println("   color: #C8D7EB;}");
out.println("a:active{");
out.println("   color: #C8D7EB;}");
out.println("a:hover{");
out.println("   color: #376BAD;");
out.println("   text-decoration: underline;}");
out.println("</style>");
out.println("<style type=\"text/css\">");
out.println("#wb_Text1 {");
out.println("   background-color: transparent;");
out.println("   border: 0px #000000 solid;");
out.println("   padding: 0;}");
out.println("#wb_Text1 div{");
out.println("   text-align: left;}");
out.println("</style>");
out.println("</head>");
out.println("<body>");
out.println("<div id=\"wb_Text1\" style=\"position:absolute;left:395px;top:58px;width:251px;height:90px;z-index:0;<span style=\"color:#000000;font-family:Arial;font-size:150px;\"><strong> Seller's Area</strong></span></div>");
out.println("<button id=\"AdvancedButton1\" type=\"button\" name=\"\" value=\"\" style=\"position:absolute;left:317px;top:195px;width:344px;height:58px;z-index:1;\"><div style=\"text-align:center\"><span style=\"color:#000000;font-family:Arial;font-size:16px\">Visualizza i Prodotti che hai messo in Vendita</span></div></button>");
out.println("<button id=\"AdvancedButton2\" type=\"button\" name=\"\" value=\"\" style=\"position:absolute;left:318px;top:284px;width:344px;height:58px;z-index:2;\"><div style=\"text-align:center\"><span style=\"color:#000000;font-family:Arial;font-size:16px\">&#043; Aggiungi Prodotto da Vendere</span></div></button>");

out.println("<button id=\"AdvancedButton4\" type=\"button\" name=\"\" onclick=\"location.href=\'http://localhost:8084/PRIMO_PROGETTO_WEB/LogoutServlet\'\" value=\"\" style=\"position:absolute;left:429px;top:480px;width:130px;height:47px;z-index:4;\"><div style=\"text-align:center\"><span style=\"color:#000000;font-family:Arial;font-size:13px\">LOGOUT</span></div></button>");
out.println("</body>");
out.println("</html>");
    }

}
